package com.example.walled_houses.service;

import com.example.walled_houses.entity.House;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.walled_houses.vo.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengtaoxie
 * @since 2023-10-24
 */
public interface HouseService extends IService<House> {

    Result getHouse(Integer currentPage);

    Result uploadPhoto(MultipartFile[] files);

    Result addHouse(House house);

}
